<html xmlns="http://www.w3.org/1999/xhtml"
	xmlns:ui="http://java.sun.com/jsf/facelets"
	xmlns:h="http://java.sun.com/jsf/html"
	xmlns:f="http://java.sun.com/jsf/core"
	xmlns:a4j="http://richfaces.org/a4j"
	xmlns:rich="http://richfaces.org/rich"
	xmlns:c="http://java.sun.com/jstl/core">

<ui:composition>
	<rich:spacer height="8" />

	<style>
.viewsourcepanel {
	padding-bottom: 0px;
	width: 100%;
	overflow: auto;
	border-width: 0;
	background-color: #FFF;
}

.viewsourcebody {
	padding: 0;
}

.viewsourceheader {
	background-color: #E6F3F7;
	background-image: none;
	border-width: 0px;
	padding: 0px;
	height: 6px;
}

.viewsourcediv {
	padding: 0 10px 10px 3px;
}
</style>
	<f:subview>
		<div style="width: 483px" class="viewsourcediv"><rich:panel
			id="source1" bodyClass="viewsourcebody"
			headerClass="viewsourceheader" styleClass="viewsourcepanel">
			<div style="width: 1000px;"><rich:panelBar
				style="height:auto;border-bottom:none;width: 100%">
				<!-- Bang du lieu -->
				<h:form>
					<rich:dataTable id="list" var="coquan" value="#{qlhcF234FuncInfo.coQuans}" rows="20">
						<f:facet name="header">
							<rich:columnGroup>
								<rich:column>
									<h:outputText value="Số Hộ chiếu" />
								</rich:column>
								<rich:column>
									<h:outputText value="Tên người mang hộ chiếu" />
								</rich:column>
								<rich:column>
									<h:outputText value="Loại Hộ chiếu" />
								</rich:column>
								<rich:column>
									<h:outputText value="Cơ quan" />
								</rich:column>

							</rich:columnGroup>
						</f:facet>
						<rich:column colspan="4">
							<h:outputText value="#{coquan.ten}" /> - Tổng số Hộ chiếu: 
			<h:outputText value="#{coquan.size}" styleClass="color: red"/>
						</rich:column>
						<rich:subTable id="sublist"	var="hochieu" value="#{coquan.hochieus}" rows="15">
							<rich:column>
								<h:outputText value="#{hochieu.sohc}"></h:outputText>

							</rich:column>
							<rich:column>
								<h:outputText value="#{hochieu.ten}">
								</h:outputText>


							</rich:column>
							<rich:column>
								<h:outputText value="#{hochieu.loaihc}">
								</h:outputText>

							</rich:column>
							<rich:column>
								<h:outputText value="#{hochieu.namsinh}">
								</h:outputText>

							</rich:column>
						</rich:subTable>
					</rich:dataTable>
					<rich:datascroller align="left" for="list" maxPages="5" />
					<!-- ket thuc phan trang -->
				</h:form>
				<!-- Ket thuc bang du lieu -->
			</rich:panelBar></div>
		</rich:panel></div>
	</f:subview>
</ui:composition>
</html>

